﻿#region

using System;
using System.ComponentModel.DataAnnotations;
using HouseHoldBudget.Framework.Mvc;

#endregion

namespace HouseHoldBudget.Models.Incomes
{
    public class OccasionalIncomeModel : MvcEntityModelBase
    {
        #region Instance Properties

        /// <summary>
        ///   Gets or sets the budget id.
        /// </summary>
        /// <value> The budget id. </value>
        public virtual Guid BudgetId { get; set; }

        /// <summary>
        ///   Gets or sets the Occasional income amount.
        /// </summary>
        /// <value> The Occasional income amount. </value>
        [DataType(DataType.Currency)]
        public virtual decimal OccasionalIncomesAmount { get; set; }

        /// <summary>
        ///   Gets or sets the Occasional incomes description.
        /// </summary>
        /// <value> The Occasional incomes description. </value>
        public virtual string OccasionalIncomesDescription { get; set; }

        /// <summary>
        ///   Gets or sets the name of the Occasional incomes.
        /// </summary>
        /// <value> The name of the Occasional incomes. </value>
        public virtual string OccasionalIncomesName { get; set; }

        /// <summary>
        ///   Gets or sets the Occasional incomes on.
        /// </summary>
        /// <value> The Occasional incomes on. </value>
        [DataType(DataType.Date)]
        public virtual DateTime OccasionalIncomesOn { get; set; }

        #endregion
    }
}